//引入mongodb
const mongoose=require('../db/mongodb.js');
//定义表的结构
const LunboSchema=mongoose.Schema({
    pic:{
        type:String,
    }
},{timestamp:true});

const LunboModel=mongoose.model('Lunbo',LunboSchema,'lunbo');
//暴露模型
module.exports=LunboModel;